home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / mac / Sample Code / QuickTime / QuickTimeIntro / Graphic Import⁄Export / Clippings / ScaleAndRotate.c / Step1.clp / Step1.clp.rsrc
MacOS Resource Fork  |  2000-10-06  |  1.0 KB  |  [clpt/drag]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacOS Resource Fork (archive/rsrc).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Resource Fork (archive/rsrc) magic Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert BeOS Resource Data (archive/beOSResourceData) ext Unsupported
1% dexvert AppleSingle (archive/appleSingle) fallback Supported
100% file AppleDouble encoded Macintosh file default
99% file data default
56% TrID Mac AppleDouble encoded default
28% TrID TTComp archive compressed (bin-2K) default (weak)
14% TrID MacBinary 1 default (weak)
100% siegfried fmt/503 AppleDouble Resource Fork (2) default
100% lsar AppleSingle default
100% gt2 MAC Bilddatei default (weak)


id metadata
keyvalue
macFileType[clpt]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 03 c7 63 6c 70 74 64 72 | 61 67 01 00 00 00 00 00 |..clptdr|ag......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 03 81 00 00 02 81 00 00 |........|........|
|00000060| 00 46 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.F......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 02 59 09 2f | 2f 20 6c 6f 63 61 74 65 |.....Y./|/ locate|
|00000160| 20 61 6e 64 20 6f 70 65 | 6e 20 61 20 67 72 61 70 | and ope|n a grap|
|00000170| 68 69 63 73 20 69 6d 70 | 6f 72 74 65 72 20 63 6f |hics imp|orter co|
|00000180| 6d 70 6f 6e 65 6e 74 0d | 09 65 72 72 20 3d 20 47 |mponent.|.err = G|
|00000190| 65 74 47 72 61 70 68 69 | 63 73 49 6d 70 6f 72 74 |etGraphi|csImport|
|000001a0| 65 72 46 6f 72 46 69 6c | 65 28 20 26 74 68 65 46 |erForFil|e( &theF|
|000001b0| 53 53 70 65 63 2c 20 26 | 69 6d 70 6f 72 74 65 72 |SSpec, &|importer|
|000001c0| 20 29 3b 0d 09 0d 09 2f | 2f 20 67 65 74 20 74 68 | );..../|/ get th|
|000001d0| 65 20 6e 61 74 69 76 65 | 20 73 69 7a 65 20 6f 66 |e native| size of|
|000001e0| 20 74 68 65 20 69 6d 61 | 67 65 20 61 73 73 6f 63 | the ima|ge assoc|
|000001f0| 69 61 74 65 64 20 77 69 | 74 68 20 74 68 65 20 69 |iated wi|th the i|
|00000200| 6d 70 6f 72 74 65 72 0d | 09 65 72 72 20 3d 20 47 |mporter.|.err = G|
|00000210| 72 61 70 68 69 63 73 49 | 6d 70 6f 72 74 47 65 74 |raphicsI|mportGet|
|00000220| 4e 61 74 75 72 61 6c 42 | 6f 75 6e 64 73 28 20 69 |NaturalB|ounds( i|
|00000230| 6d 70 6f 72 74 65 72 2c | 20 26 6e 61 74 75 72 61 |mporter,| &natura|
|00000240| 6c 42 6f 75 6e 64 73 20 | 29 3b 0d 09 0d 09 77 69 |lBounds |);....wi|
|00000250| 6e 64 6f 77 42 6f 75 6e | 64 73 20 3d 20 6e 61 74 |ndowBoun|ds = nat|
|00000260| 75 72 61 6c 42 6f 75 6e | 64 73 3b 0d 09 4f 66 66 |uralBoun|ds;..Off|
|00000270| 73 65 74 52 65 63 74 28 | 20 26 77 69 6e 64 6f 77 |setRect(| &window|
|00000280| 42 6f 75 6e 64 73 2c 20 | 31 30 2c 20 34 35 20 29 |Bounds, |10, 45 )|
|00000290| 3b 0d 09 77 69 6e 64 6f | 77 20 3d 20 4e 65 77 43 |;..windo|w = NewC|
|000002a0| 57 69 6e 64 6f 77 28 20 | 4e 55 4c 4c 2c 20 26 77 |Window( |NULL, &w|
|000002b0| 69 6e 64 6f 77 42 6f 75 | 6e 64 73 2c 20 22 5c 70 |indowBou|nds, "\p|
|000002c0| 53 63 61 6c 65 20 61 6e | 64 20 52 6f 74 61 74 65 |Scale an|d Rotate|
|000002d0| 20 22 2c 20 74 72 75 65 | 2c 20 64 6f 63 75 6d 65 | ", true|, docume|
|000002e0| 6e 74 50 72 6f 63 2c 20 | 28 57 69 6e 64 6f 77 50 |ntProc, |(WindowP|
|000002f0| 74 72 29 2d 31 2c 20 74 | 72 75 65 2c 20 30 29 3b |tr)-1, t|rue, 0);|
|00000300| 0d 09 0d 09 2f 2f 20 73 | 65 74 20 74 68 65 20 67 |....// s|et the g|
|00000310| 72 61 70 68 69 63 73 20 | 70 6f 72 74 20 66 6f 72 |raphics |port for|
|00000320| 20 64 72 61 77 69 6e 67 | 0d 09 65 72 72 20 3d 20 | drawing|..err = |
|00000330| 47 72 61 70 68 69 63 73 | 49 6d 70 6f 72 74 53 65 |Graphics|ImportSe|
|00000340| 74 47 57 6f 72 6c 64 28 | 20 69 6d 70 6f 72 74 65 |tGWorld(| importe|
|00000350| 72 2c 20 47 65 74 57 69 | 6e 64 6f 77 50 6f 72 74 |r, GetWi|ndowPort|
|00000360| 28 20 77 69 6e 64 6f 77 | 20 29 2c 20 4e 55 4c 4c |( window| ), NULL|
|00000370| 20 29 3b 0d 09 0d 09 2f | 2f 20 64 72 61 77 20 74 | );..../|/ draw t|
|00000380| 68 65 20 69 6d 61 67 65 | 0d 09 65 72 72 20 3d 20 |he image|..err = |
|00000390| 47 72 61 70 68 69 63 73 | 49 6d 70 6f 72 74 44 72 |Graphics|ImportDr|
|000003a0| 61 77 28 20 69 6d 70 6f | 72 74 65 72 20 29 3b 00 |aw( impo|rter );.|
|000003b0| 00 00 20 00 00 00 01 00 | 00 00 04 00 00 00 00 00 |.. .....|........|
|000003c0| 00 00 01 54 45 58 54 00 | 00 01 00 00 00 00 00 00 |...TEXT.|........|
|000003d0| 00 00 00 00 00 01 00 00 | 00 03 81 00 00 02 81 00 |........|........|
|000003e0| 00 00 46 0f 38 50 20 02 | 22 00 00 00 1c 00 46 00 |..F.8P .|".....F.|
|000003f0| 01 54 45 58 54 00 00 00 | 12 64 72 61 67 00 00 00 |.TEXT...|.drag...|
|00000400| 1e 01 00 ff ff 00 00 00 | 00 00 dc f2 98 00 80 ff |........|........|
|00000410| ff 00 00 02 5d 00 bd 7b | 00 |....]..{|. |
+--------+-------------------------+-------------------------+--------+--------+